<!-- examinationOnTheSpot-add.html -->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
	xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<head th:include="inc/examHeader::header">
</head>
<script type="text/javascript" src="/exam/js/examinationOnTheSpot-add.js" ></script>
	<body>
		<!--返回-->
		<div class="back" onclick="location='/examReport/report'"><img src="../images/back.png" /></div>
		<div th:include="header :: header"></div>
		<div class="header-title">
			<span>添加现场考试学员</span>
		</div>
		<div class="spare-a">
			<div class="save-bg"><a href="#" id="save" class="spare-tj">保 存</a></div>
			<div class="spare-add">
			<form action="#" id="paper" method="post">
				<ul>
					<li>
						<div class="spare-addl">试卷名称：</div>
						<div class="spare-addr">
							<select class="spare-add-select" name="paperId" onchange="changePaper(this.value)">
								<option value="0">请选择</option>
								<option th:each="paper,iterStat : ${papers}"  th:text="${paper.name}" th:value="${paper.id+'-'+paper.totalScore}" ></option>
							</select>
							<div class="select-arrow"></div>
						</div>
					</li>
					<li>
						<div class="spare-addl">总分：</div>
						<div class="spare-addr"><input type="text" class="spare-add-input" id="totalScore" readonly="readonly"/></div>
					</li>
					<li>
						<div class="spare-addl" >考试成绩：</div>
						 <div class="spare-addr" id="userScore">
							<!-- <div class="grade-list clearfix" th:each="user,iterStat : ${users}">
								<div class="grade-listl" th:text="${user.userName}"></div>
								<div class="grade-listr"><input type="text" th:name="${user.id}" class="list-input" /></div>
							</div> -->
						</div>
					</li>
				</ul>
				</form>
			</div>
		</div>
	</body>
</html>
